home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1994 March / Internet Info CD-ROM (Walnut Creek) (March 1994).iso / answers / comp / 3b2-faq / part2 < prev    next >
Internet Message Format  |  1994-03-19  |  32KB

  1. Path: bloom-beacon.mit.edu!noc.near.net!MathWorks.Com!news.kei.com!hookup!news.sprintlink.net!sashimi.wwa.com!gagme.wwa.com!not-for-mail
  2. From: greg@gagme.wwa.com (Gregory Gulik)
  3. Newsgroups: comp.sys.att,news.answers,comp.answers
  4. Subject: AT&T 3B2 Frequently Asked Questions - Part 2/2
  5. Supersedes: <3B202-faq_940220172540@gagme.wwa.com>
  6. Followup-To: comp.sys.att
  7. Date: 19 Mar 1994 01:24:51 -0600
  8. Organization: GAGME Public Access UNIX, Chicago, Illinois, USA
  9. Lines: 789
  10. Approved: news-answers-request@MIT.Edu
  11. Distribution: world
  12. Message-ID: <3B202-faq_940319012449@gagme.wwa.com>
  13. NNTP-Posting-Host: gagme.wwa.com
  14. Xref: bloom-beacon.mit.edu comp.sys.att:2753 news.answers:16570 comp.answers:4229
  15.  
  16. Archive-name: 3b2-faq/part2
  17.  
  18. ------------------------------------------------------------------------------
  19. Subject: 17 What are the pinouts of those phone-like serial connectors?
  20. ------------------------------------------------------------------------------
  21.  
  22. The connectors 3B2's use are called RJ-45.  They are 8 conductor
  23. telephone like connectors, and lucky for us, are pretty standard.  You
  24. can either buy the cables and connectors from AT&T for an arm and a
  25. leg, or elsewhere.  I don't know about the cables, since I've never
  26. bought them from anyone but AT&T, but I have made my own RS-232
  27. connectors with excellent results.
  28.  
  29. The following is an excellent description of the RJ-45 port on the 3B2:
  30.  
  31. From: rthomas@hakatac.almanac.bc.ca (Robert N Thomas)
  32.  
  33. Looking into the 8 pin modular RJ-45 jack you'll see that pin 1 should
  34. be on the right.
  35.  
  36.     Diagram of what you should see when looking
  37.     at an 8 PIN modular jack connector.
  38.  
  39.                +----------+
  40.                | 87654321 | 
  41.                |          |
  42.                +--+    +--+
  43.                   |    |
  44.                   +----+
  45.  
  46. Ok, not all 3B2 8 pin modular jack connectors are created "EQUAL".
  47. These beasties are used for running StarLan 1MBit, EPORTS cards,
  48. PORTS cards, as well as for running ETHERNET 10MBits as well.
  49.  
  50. The pin outs for the two modular jack cables on the back of the
  51. 3B2, as well as for the PORTS card should be as follows:
  52.  
  53.      PIN     Lead           Direction             Explanation
  54.     =====  ==========     =============         ========================
  55.       1     PROT GRD                              Ground
  56.       2     reserved                              Not Connected
  57.       3     TXD0            Out                   Transmit Data
  58.       4     DTR0            Out                   Data Terminal Ready
  59.       5     RXD0            In                    Receive Data
  60.       6     DCD0            In                    Data Carrier Detect
  61.       7     SIG GRD                               Signal Ground
  62.       8     reserved                              Not Connected
  63.  
  64. The 2 modular jacks on the back of your machine should be labeled
  65. console and contty.  If your talking about a PORTS card, here is
  66. what one looks like:
  67.  
  68.      Centronics connector
  69.      for Parallel Printer
  70.           |
  71.          \|/
  72.      +------------+     +----+    +----+    +----+   +----+
  73.       \          /      |    |    |    |    |    |   |    |
  74.        \________/       +-__-+    +-__-+    +-__-+   +-__-+
  75.  
  76.                            ^         ^        ^        ^
  77.                           The above 4 RJ45 connectors are for
  78.                         plugging serial terminals into your 3B2.
  79.  
  80. The EPORTS card is card that has 8 RJ45 connectors (8 pin modular
  81. jacks) on it.  This card is where you would want to plug a high
  82. speed modem onto your system, because the above connectors DO NOT
  83. SUPPORT HARDWARE FLOW CONTROL.  The PIN OUTS for the EPORTS card
  84. are as follows:
  85.    
  86.      PIN     Lead           Direction             Explanation
  87.     =====  ==========     =============         ========================
  88.       1     PROT GRD                              Ground
  89.       2     CTS             Out                   Clear to Send
  90.       3     TXD0            Out                   Transmit Data
  91.       4     DTR0            Out                   Data Terminal Ready
  92.       5     RXD0            In                    Receive Data
  93.       6     DCD0            In                    Data Carrier Detect
  94.       7     SIG GRD                               Signal Ground
  95.       8     RTS             In                    Request to send
  96.  
  97. * NOTES:
  98.  
  99. CTS & RTS (if you have them).
  100.     Most 3B2 systems need to do the following to enable hardware
  101.     flow control.  Otherwise the 3B2 will ignore RTS & CTS.
  102.     Also see the FAQ item about handing high speed modems on
  103.     EPORTS cards for more detailed information.
  104.  
  105.     epstty hfc    <-- XON/XOFF flow control must be disabled
  106.               before you do this.  The stty command is
  107.               one way to disable XON/XOFF.  Line
  108.               DISCIPLINES are another way to do this.
  109.               See etc/gettydefs file.
  110.  
  111. DTR0 notes. {3B2 uses this to signal DISCONNECT}
  112.  
  113.     When the 3B2 is active on the port  (waiting for someone
  114.     to logon to the port or whatever.), DTR is active.   When
  115.     the 3B2 wishes to DISCONNECT (ie, too many wrong passwords,
  116.     or the user logs off the port), it will lower DTR momentarily.
  117.     If you are trying to get a modem to work, you might want
  118.     the modem to DISCONNECT the user when DTR is dropped..
  119.  
  120. DCD0 notes. {Used to tell 3B2 that the user has DROPPED CARRIER}
  121.  
  122.     When the DCD is set inactive, the 3B2 will assume that the
  123.     user has either turned off the terminal, or dropped carrier.
  124.     If this occurs, the user is logged off the system, and
  125.     background tasks are aborted.  If DCD is inactive, be
  126.     aware that NONE of the standard AT&T provided utilities
  127.     are capable of sending anything to the device.  There is
  128.     a way to get around this in the more recent releases of
  129.     the 3B2's OS.  See your admin documentation for details.
  130.  
  131.     Otherwise, in the case of a MODEM, when the user drops
  132.     carrier, you want the modem to "momentarily" lower this
  133.     DCD0 just long enough for the 3B2 to realize that the user
  134.     has dropped carrier.  The modem should then Re-ENABLE DCD0,
  135.     so that the 3B2 will be able to send data to the modem.
  136.     {needed for cu, and outbound UUCP to work correctly in
  137.     older releases of the OS}
  138.  
  139.     Most semi-decent modems are capable of handling DCD and
  140.     DTR in a 3B2 friendly manner.  I have done this with PEP's,
  141.     USR HST's, and MicroComm 9600 AX modems, without incident.
  142.  
  143. From: pen@cbnewsf.cb.att.com (paul.e.nepermann)
  144.  
  145. Here are the pinouts for the connectors from the 8 pin modular to
  146. the 25 pin adapters.
  147.  
  148.     8 pin modular to 25 pin RS232C Terminal/Printer
  149.     8 pin modular to 25 pin RS232C ACU Modem
  150.  
  151.           |       Terminal/Printer        |    ACU Modem
  152. 8 pin side    |    25 pin/male   |    25 pin/female |    25 pin
  153.           |              |              |
  154. 1  FG          |    FG    1     |    FG    1     | FG    1
  155. 2  CTS (in)   |    RTS    4     |    RTS    4     | CTS    5
  156. 3  TXD (out)  |    RXD    3     |    RXD    3     |    TXD    2
  157. 4  DTR (out)  |    DCD    8     |    DCD    8     | DTR    20
  158. 5  RXD (in)   |    TXD    2     |    RXD    2     | RXD    3
  159. 6  DCD (in)   |    DTR    20    |    DTR    20    | DCD    8
  160.           |    DSR    6     |              |
  161. 7  SG          |    SG    7     |    SG    7     | SG    7
  162. 8  RTS (out)  |    CTS    5     |    CTS    5     | RTS    4
  163.  
  164. ------------------------------------------------------------------------------
  165. Subject: 18 What is the u3b. newsgroup hierarchy?
  166. ------------------------------------------------------------------------------
  167.  
  168. Don't worry about it, you're not missing anything.  It's an almost
  169. completely dead hierarchy that used to be about 3B2's and 3B1's.
  170. Discussions about 3B2's have migrated to comp.sys.att, and discussions
  171. about 3B1's have migrated to comp.sys.3b1.
  172.  
  173. ------------------------------------------------------------------------------
  174. Subject: 19 What is the proper way to rebuild the kernel after tuning
  175.         kernel parameters?
  176. ------------------------------------------------------------------------------
  177.  
  178. # cp /unix /oldunix
  179. # cd /etc/master.d
  180.  
  181. Edit your kernel parameters
  182.  
  183. # cd /boot
  184. # mkboot -k KERNEL
  185. # cd /
  186. # sysadm firmware
  187.  
  188. Once in firmware mode, have the 3B2 boot using /etc/system
  189.  
  190. ------------------------------------------------------------------------------
  191. Subject: 20 Which GNU packages DON'T run on the 3B2?
  192. ------------------------------------------------------------------------------
  193.  
  194. Most software from the Free Software Foundation compiles and runs
  195. on 3B2s with little or no modification.  The following are exceptions
  196. and their reasons.  Please prove me wrong, I'd love to have some
  197. of this stuff on my 3B2 as well.
  198.  
  199. gdb    - GNU Debugger
  200.       No configuration files for WE32K processor.
  201.  
  202. libg++    - C++ Libraries
  203.       The g++ compiler produces invalid assembler code for one
  204.       of the modules.
  205.  
  206.  
  207. ------------------------------------------------------------------------------
  208. Subject: 21 How do I put a root and/or swap partition on a SCSI drive
  209.             on a 3B2/300|310|400?
  210. ------------------------------------------------------------------------------
  211.  
  212. From: rthomas@hakatac.almanac.bc.ca (Robert N Thomas)
  213.  
  214. [This is intended for experienced 3B2 system administrators only.
  215.  You can lose all the data on your system if a mistake is made.
  216.  You should make a full system backup before you try this.  Heck,
  217.  make two just to be sure.  Do this at your own risk!]
  218.  
  219. Well, I have managed to get a SCSI drive interfaced to my unix system.
  220. I thought that while this is all fresh in my mind, that I would type
  221. this document and make it available to the Net.  I also am keeping a
  222. copy of it to aid me if I need to do this again.  The EMAIL message by
  223. geoff describing the edittbl process was invaluable to me.  But it
  224. still took 30 hours for me to get it to work.  Hopefully the
  225. information here will make it easier for someone else trying to get
  226. this stuff to work.
  227.  
  228. I have a 3B2/400 computer system, with the following required hardware
  229. and software:
  230.  
  231. 1 SCSI Host Adaptor Card.
  232. 1 SCSI cable.
  233. 1 brand new SCSI disk drive. In this case a Quantum 170 Meg drive.
  234.  
  235. Software Required.
  236. cd /usr/options
  237. grep -i scsi *
  238. scsi.name:AT&T 3B2 SCSI Host Adapter Utilities Release 1.0
  239. sd01.name:AT&T 3B2 SCSI Disk Controller Utilities Release 3.0
  240.  
  241. You need the SCSI host adaptor utilities, and disk controller
  242. utilities.  If you don't have the SCSI card, and the software, don't
  243. bother trying it.
  244.  
  245. Here's what I did.
  246.  
  247. prtconf  <-- Take down what SCSI addresses you currently have in use.
  248.              Look under SCSI at the ID: number.
  249.  
  250. Jumper your new hard disk to an unused SCSI ID: number (0-7) (don't
  251. forget about terminating resistors.)
  252.  
  253. I didn't do this and wasted a few hours because I managed to pick one
  254. of the few "used" address's.  BTW, Address 0 is always used on a 3B2.
  255. SCSI host adaptor takes this address.
  256.  
  257. Power Down the 3B2.
  258. Connect the new SCSI drive to the 3B2 SCSI bus.
  259. Power the 3B2 on.
  260.  
  261. With finger on the CTRL-S or printscreen, watch the machine boot. As it
  262. comes up it will say something like:
  263.  
  264. unknown device "QUANTUM ELS170S         3.5" not configured (*void).
  265.   (TC:0, ID:2)
  266. {Gee, maybe I am installing a Quantum 170 on my 3b2 at address 2 eh??}
  267.  
  268. Write all this down, and ensure you got it right.  The 3B2 usually
  269. tries to scroll it off right away for you, to be helpful :-}
  270.  
  271. logon as root.
  272. cd /etc/scsi
  273. ./edittbl -l     <-- The idea here is to view how SCSI disk entries are
  274.                      formatted.  I'll show you what I did here to get the
  275.                      QUANTUM 170 up.
  276. ./edittbl -i     <-- We want to insert a new entry.
  277. Enter Vendor ID: QUANTUM
  278.             The vendor ID must be padded out to 8 characters.  So add one
  279.             space on the end of quantum to pad it out to 8 characters.
  280. Enter Product ID: ELS170S         
  281.             The vendor id entered must be 16 characters.  The "3.5" won't
  282.             fit in 16 characters, hence I simply added 9 spaces onto the
  283.             end until I had 16 characters.
  284. AT&T Device Name: SD01
  285.             SD01 = disk drive
  286.             ST01 = tape drive
  287. TC Driver type: 0x001
  288. Enter Peripheral Device Type: 0x000       <-- Most cases.  1 = tape
  289.                                                            0 = disk
  290. Max lu supported: 0x001       <--- How many logical units, or if you like
  291.                                    subdevices are here.  Usually 1.
  292.  
  293. The system then asks again what vendor ID again.
  294.  
  295. Enter Vendor ID: <CTRL-D>    <--- CTRL-D to update and exit.
  296.                                   Interrupt to exit without save
  297.  
  298.     Next...
  299.  
  300. cd to /usr/lib/scsi
  301.  
  302. Next, you want to edit the tc.index file.   Add an entry for your hard
  303. disk similar to the others.  Here's what I did for the Quantum.
  304.  
  305. QUANTUM ELS180S         3.09
  306. sd00.0
  307.  
  308. Again, QUANTUM padded to 8 chars, ELS170S.  Must be at least 16 chars
  309. long.  In my case I went "over it".
  310.  
  311. sysadm reboot     <--- Reboot machine.
  312.  
  313. Once machine is up, 
  314.  
  315. sysadm single     <--- Go to single user mode.
  316.                        Rumor has it that formatting needs single user mode.
  317.  
  318. cd /usr/lib/scsi  
  319. ./format -v /dev/xxxxxx   <-- In my case /dev/rdsk/c1t6d0s6
  320.               <-- c1 = controller #1, t6 = scsi ID number
  321.               <-- d0 = disk 0, and s6 = partition number
  322.  
  323. sysadm partitioning       <-- to add simple data partitions to the system
  324.               <-- and add them
  325.  
  326.       or
  327.  
  328. In my case, since I wanted the SCSI disk to replace my existing boot
  329. disk, you can't use sysadm partitioning.  Instead, you have to do it in
  330. a more manual mode.  I could use a SLOW MFM drive for critical things
  331. like root, swap and /usr, or I could use a nice BRAND NEW SCSI drive
  332. for this, and use the MFM's for other less critical things.
  333.  
  334. To become a bit more familiar with how your disks are setup, you can
  335. try the below in safety.  prtvtoc only displays the current settings.
  336.  
  337. prtvtoc /dev/dsk/c1d0s6   <-- Display partitions on my BOOTABLE CD WREN
  338.                               70 Meg MFM hard disk. A standard one for most
  339.                               3B2 systems.
  340. prtvtoc /dev/dsk/c1d1s6   <-- This displays the second partition settings for
  341.                               the second MFM hard disk on a 3B2.
  342.  
  343. If the above does not work, you may cat /etc/fstab and this will show
  344. you most of your disks.  You could also check /etc/system for your
  345. root partitions name.
  346.  
  347. In my case, I decided to store these configurations in /etc/vtoc, since
  348. it makes sense to know what's in your partition tables.  The manuals
  349. made mention of this vtoc directory.  When I got there, this was an
  350. empty directory so I decided to populate it.
  351.  
  352. cd /etc/vtoc
  353. prtvtoc /dev/rdsk/c1d0s6 > c1d0s6.vtoc
  354. prtvtoc /dev/rdsk/c1d1s6 > c1d1s6.vtoc
  355.  
  356. Since we want to add partitions to the newly added SCSI disk, what I
  357. did is.   Remember to select the correct device id for the disk your
  358. adding.
  359.  
  360. fmthard /dev/rdsk/c1t6d0s6
  361.  
  362. This will install an unparitioned vtoc (volume table of contents, or
  363. partition table if you prefer).  This gave me some badly needed
  364. information about how many sectors are usable on the disk.
  365.  
  366. I then would recommend:
  367.  
  368. cd /etc/vtoc
  369. prtvtoc /dev/rdsk/c1t6d0s6 > c1t6d0s6.vtoc
  370.  
  371. Funny thing about prtvtoc.  It's output can be read by the partitioning
  372. program to re-create your partitions!!!  Nice touch don't you think.
  373.  
  374. I then went and edited this file's partition tables entries such that I
  375. would have 20 Meg root, 140 Meg /usr and 8 Megs of swap.
  376.  
  377. Here is what it looked like when I finished for my Quantum drive:
  378.  
  379. * /dev/rdsk/c1t6d0s6 partition map
  380. *
  381. * Dimensions:
  382. *     512 bytes/sector
  383. *      63 sectors/track
  384. *       4 tracks/cylinder
  385. *     252 sectors/cylinder
  386. *    1325 cylinders
  387. *    1323 accessible cylinders
  388. *
  389. * Flags:
  390. *   1: unmountable
  391. *  10: read-only
  392. *
  393. *                          First     Sector    Last
  394. * Partition  Tag  Flags    Sector     Count    Sector  Mount Directory
  395.        0      2    00        100     40986     41085
  396.        1      3    01      41086     16384     57469
  397.        2      4    00      57470    275926    333395
  398.        6      0    01          0    333396    333395
  399.        7      0    01          0       100        99
  400.  
  401.  
  402. Partition 0 is a root file system.  Starting at sector 100, going to
  403. sector 41085, making a total of 41085 - 100 + 1 = 40986 sectors.
  404.  
  405. Partition 1 is my swap partition.  I started this one at sector num
  406. 41086 to 57469, making a total of 57469 - 41086 +1 = 16384 sectors, or
  407. 8 Meg of swap (16384 * 512 bytes/sector = 8Meg).  I also positioned
  408. this as close to the center of the drive as possible, to try and make
  409. it more accessible.  I want speedy access to this area.  Putting it at
  410. the beginning of the drives, means that when the 3B2 has to read a
  411. swapped process, its got to seek to the beginning of the drive.  I save
  412. myself a bit of seek time.
  413.  
  414. Partition 2 is my /usr file system.
  415.  
  416. Partition 6 defines the total length of the drive.
  417.  
  418. Partition 7 defines the BOOT area of the drive.  I selected the
  419. beginning of the drive.  I suspect you could move it anywhere, but for
  420. me the beginning is good enough.
  421.  
  422. The TAGS also seem to define the type of partition, hence you should
  423. follow the TAG & FLAG examples shown above.  If your just adding a data
  424. disk, let sysadm partition do the dirty work for you.
  425.  
  426. One observation is fmthard does not format a hard disk. I think a name
  427. like makevtoc would be a bit better choice of a name.  Oh well, who
  428. said unix makes sense anyway!!!
  429.  
  430. Ok, now that the file is all edited just right, time to partition the
  431. disk:
  432.  
  433. fmthard -s /etc/c1t6d0s6.vtoc /dev/rdsk/c1t6d0s6 
  434.  
  435. I would recommend doing a prtvtoc to ensure that you got everything
  436. right.  prtvtoc will declare if you had any problems.  EG: unused
  437. sectors and such.
  438.  
  439. Now that the disk is partitioned, it's time to make it a bootable
  440. disk.  I tried to get newboot to work and couldn't.  So I went and used
  441. dd to get the job done:
  442.  
  443. dd if=/dev/dsk/c1d0s7 of=/dev/dsk/c1t6d0s7
  444.  
  445. And POOF!  Instant boot disk.
  446.  
  447. Next, we must use mkfs to create the file systems.  Again, the
  448. /etc/vtoc directory contains most of the answers.  In this case the
  449. number of sectors for each mountable partition.
  450.  
  451. mkfs /dev/dsk/c1t6d0s0 40986:5120 10 126 -b 1024   <-- makes root file sys
  452.  
  453.  40986 = total number of sectors.
  454.   5120 = total number of inodes (total number of files you can create)
  455.     10 = gap. Floppy this should be 1, on my box 10.  It's in the
  456.      manuals.  Your system may be somewhat different for gap.
  457.      Since I have a 3B2/400 at 10MHz, 10 is good.
  458.    126 = Blocks per track.  In the prtvtoc output it says 252 sectors
  459.      per cylinder.  Since each sector is 512 bytes, and my block
  460.      size is 1024.  You get 512/1024 * 252 to get 126 blocks per
  461.      cylinder.
  462.   1024 = I want a 1K/block file system.  I sure could use 2K file
  463.          system software.
  464.  
  465. I got 5120 from a df -lt command.  The current configuration AT&T
  466. provided for my root file system.  Seems good enough for me.
  467.  
  468. mkfs /dev/dsk/c1t6d0s2 275926:40000 10 126 -b 1024  <-- makes my /usr file sys
  469.  
  470. I kinda trumped up my inodes here.  It's always good to have enough
  471. Inodes, and a dam pain when you run out.  I wanted to ensure I had
  472. enough.  Adding more later means the destruction of all files on the
  473. file system and a restore from tape to recover.
  474.  
  475. mkfs to partition 1 (the swap area) is not very useful. Also mkfs to
  476. partition 6 in also not a smart idea.
  477.  
  478. Next it is time to label the file system.  This is a job for the
  479. labelit command.
  480.  
  481. labelit /dev/dsk/c1t6d0s0 /
  482. labelit /dev/dsk/c1t6d0s2 /usr
  483.  
  484. mount each newly created file system(s).   For me, I did the following:
  485.  
  486. cd /
  487. mkdir user
  488. mkdir root
  489. mount /dev/dsk/c1t6d0s0 /root
  490. mount /dev/dsk/c1t6d0s2 /user
  491.  
  492. OK, now that we have our file systems online, it's time to copy the
  493. files over to this new file system.  Here's what I did:
  494.  
  495. cd /
  496. find . -mount -print | cpio -pvdlm /root  
  497.  
  498. This copies all files on ONLY THE ROOT {/} FILE SYSTEM to the /root
  499. file system.
  500.  
  501. cd /usr
  502. find . -print | cpio -pvdlm /user
  503.  
  504. Copies all files on /usr as well as any other file systems below /usr
  505. to the /user file system.  You could use the -mount option to limit
  506. this.  In my case there are no other file systems, so who cares :-}.
  507.  
  508. OK, now all needed files are now on my SCSI drive. Only problem is I
  509. can't boot off the scsi's / file system.
  510.  
  511. cd /root/etc
  512. vi system
  513.  
  514. While you edit this file, you'll find a section all commented out.
  515. The default looks like:
  516.  
  517. * System device specifications
  518. *
  519. * NOTE:  With VTOC, specifications are not required.
  520. *      following is an example of what should go here
  521. *
  522. *    ROOTDEV: /dev/idsk00
  523. *    PIPEDEV: /dev/idsk00
  524. *    SWAPDEV: /dev/swap 0 3528
  525.  
  526. I changed my /root/etc/system files entries to look like:
  527.  
  528. * System device specifications
  529. *
  530. * NOTE:  With VTOC, specifications are not required.
  531. *      following is an example of what should go here
  532. *
  533. ROOTDEV: /dev/dsk/c1t6d0s0
  534. PIPEDEV: /dev/dsk/c1t6d0s0
  535. SWAPDEV: /dev/dsk/c1t6d0s1 0 16384
  536.  
  537. I ran into a terrible problem, and could not get the SCSI drive to
  538. boot.  The system would start booting off the SCSI, and then switch
  539. midstream to the MFM drives on me.   This was horrible, and I could not
  540. find anything in the docs to help.  Editing the /etc/system was the
  541. only way I could get it to work.  If there is a better way, I would
  542. appreciate hearing about it.
  543.  
  544. Since the SCSI is the new root file system, you'll have to ensure that
  545. all mount point directories are re-created on your file system
  546. replacements.  All file system mountpoints will be nonexistent on your
  547. new file systems.
  548.  
  549. mkdir /usr
  550.  
  551. Now you need to select which file systems you want mounted at boot
  552. time.
  553.  
  554. cd /etc
  555. vi fstab
  556.  
  557. In my case, the default file looked like:
  558.  
  559. /dev/dsk/c1d1s2 /usr  
  560. /dev/dsk/c1d0s8 /usr2  
  561.  
  562. I changed it to:
  563.  
  564. /dev/dsk/c1t6d0s2 /usr
  565. /dev/dsk/c1d0s8 /usr2  
  566.  
  567. And remember to ensure the mount directories DO exist.
  568.  
  569. sysadm firmware
  570.  
  571. MCP is usually the Password for most dos based systems.
  572.  
  573. For the boot file name, type in /etc/system
  574.  
  575. For the load device, select SCSI
  576.  
  577. For the subdevice, select the SCSI disk.
  578.  
  579. The system will produce a warning about the devices.  I don't know if I
  580. did all the correctly, but it seems to work.  I tried to find the
  581. answer to my boot disk problem in the docs, but failed.  I assume the
  582. warnings are caused by the 3B2's OS assuming the existence of only MFM
  583. drives.
  584.  
  585. If the machine boots, and your df -lt reports a SCSI root file system,
  586. and a SCSI /usr, then it worked.
  587.  
  588. Next you'll have to use sysadm autold to select the SCSI boot device.
  589.  
  590. Hope this helps, and may be kept available to help someone else get
  591. SCSI disks on their 3B2 as well.
  592.  
  593. Cheers....
  594.                     ---- Robb ----
  595.  
  596. ------------------------------------------------------------------------------
  597. Subject: 22 How do I take a crash dump?
  598. ------------------------------------------------------------------------------
  599.  
  600. From: hak@alf.cooper.edu (Jeff Hakner)
  601.  
  602. The procedure is given in the SAG, but anyway:
  603.     After the system panics and gives you the SYSTEM FAILURE...
  604.     message, type the firmware password.  You'll need 6 formatted
  605.     floppies.  For program name, type sysdump.  This is a firmware
  606.     program, so it won't ask for a device.
  607.  
  608.     Insert the first floppy, hit c, as per directions on screen.
  609.     Continue for the remaining floppies.  This process takes ~15
  610.     minutes.
  611.  
  612.         After the dump is complete, (remove the floppy and) boot unix.
  613.  
  614.     When the system is up, find a filesystem with at least 4MB
  615.     free.  Run ldsysdump filename, where filename is the name of
  616.     the image file which will be created.  Once again, feed it the
  617.     6 disks (in sequence) as prompted.
  618.  
  619.     When this is done, filename will contain the core image of the
  620.     crashed system.  To analyze, use crash filename.
  621.  
  622.         (Of course, if you don't know how to use crash.....)
  623.  
  624. ------------------------------------------------------------------------------
  625. Subject: 23 Why do I get "Host is unreachable" when trying to connect
  626.             to a host on the Internet?
  627. ------------------------------------------------------------------------------
  628.  
  629. From: morgan@engr.uky.edu (Wes Morgan)
  630.  
  631. Q: Why can I connect to some sites with telnet or ftp, but not others?
  632.    Why do I get "Connection timed out" and "Host is unreachable" errors?
  633.    What is the "TTL problem"? How can I fix it?
  634.  
  635. A: Some (or all!) of these problems can often be traced to one
  636.    particular kernel parameter -- IP_TTL.
  637.  
  638.    For those unfamiliar with TCP/IP standards, TTL stands for "time
  639.    to live." Each TCP/IP packet has a finite lifetime, measured in
  640.    "hops."  Normally, each router or brouter along the transmission
  641.    path is considered one hop.  When the packet is first sent, it's
  642.    time-to-live is set to the value of IP_TTL; as the packet travels
  643.    through each router/brouter, this counter is decremented by one.
  644.    If a packet's TTL is exhausted before it reaches its destination,
  645.    an error message is returned and the packet is killed.  This is
  646.    often what actually happens behind those "Connection timed out"
  647.    and "Host is unreachable" error messages.
  648.  
  649.    [ Readers in search of more detailed information about TTL and other  ]
  650.    [ IP packet characteristics should read RFC 791, "Internet Protocol," ]
  651.    [ which is available from many anonymous FTP sites.  Ask archie about ]
  652.    [ "rfc791.txt"                                                        ]
  653.    
  654.    By default, WIN/TCP sets IP_TTL to 15 (0x0f); while this may be
  655.    more than adequate for local networking, it is often far too
  656.    small for systems participating in the larger Internet.  (I
  657.    have, however, seen a *local* network that had enough routers
  658.    to deplete the default TTL on exclusively local traffic --
  659.    sheesh!)
  660.  
  661.    Those who wish to modify the IP_TTL parameter will find it in:
  662.     /etc/conf/pack.d/ip/space.c  (WIN/TCP for System V/386)
  663.     /etc/master.d/ip             (WIN/TCP for 3b2 SVR3.2)
  664.    Follow the normal procedures for modifying tunable parameters.
  665.    REMEMBER -- ALWAYS MAKE A BACKUP COPY OF THE OLD KERNEL!
  666.  
  667. Q: I've been told to set IP_TTL to its maximum value, 255 (0xFF).
  668.    Is a high TTL undesirable?
  669.  
  670.    For normal operation, it's no big deal; it will cause your
  671.    packets to bounce around locally a bit more than necessary, but
  672.    that's a local decision.
  673.  
  674.    However, the impact of a high TTL can be far more significant
  675.    in long-range networking.  During periods of network flakiness
  676.    (which seem to be happening at an ever-increasing rate), a high
  677.    TTL can cause the packet to bounce around *far* more than
  678.    necessary.  For instance, suppose that router A thinks that a
  679.    router B should handle traffic for machine C; it will forward
  680.    packets to router B, decrementing the TTL of each packet.  If
  681.    router B is confused, it might think that router A is supposed
  682.    to handle traffic for machine C and fire the packet right back
  683.    to router A.  With a high TTL, you'll generate endless loops
  684.    between these two routers; this, in turn, will slow down everyone
  685.    else's traffic. [and, in some uncommon cases, crash the router;
  686.    I did that once....8( ]
  687.  
  688.    While I certainly agree that it's "someone else's job" to make
  689.    sure that these situations don't occur, I think that we have an
  690.    obligation to minimize our impact on those folks that provide
  691.    our long-range connectivity.
  692.  
  693.    I've found that setting IP_TTL to 64 (0x40) meets all our needs
  694.    AND minimizes our impact on flaky networks.  Please consider
  695.    your needs when configuring; don't just set things to the maximum
  696.    possible.  After all, it's called "performance tuning," not
  697.    "crank it up, man!"
  698.  
  699. ------------------------------------------------------------------------------
  700. Subject: 24 How do I boost the speed of my 3B2/310 or /400?
  701. ------------------------------------------------------------------------------
  702.  
  703.     Modifying a 3B2/310 or /400 to increase CPU clock speed above 10MHz
  704.  
  705. By: Jeff Hakner, Cooper Union  NYC
  706. Draft 1.1, 13JUL1993
  707.  
  708. 3B2/310 and /400 systems were delivered with a maximum CPU clock
  709. rate of 10 MHz.  AT&T, at some point, released a chipset consisting
  710. of CPU, MMU, MAU and oscillator which ran at 14MHz.  That chipset
  711. does not seem to be widely available any longer.  Congruent
  712. Technologies, a big 3B2 VAR, is known to have a large number of
  713. the chips, but their asking price (as of late 1992) was $1000 !!!
  714. Considering that an entire V2 motherboard is going for $50 these
  715. days, that seems outrageous.
  716.  
  717. I heard from several sources that one could simply replace the
  718. oscillator and run the 10MHz chips up to about 14MHz, depending on
  719. the vintage of the motherboard and memory cards.  The oscillator,
  720. a WE32102 in AT&T parlance, is made be McCoy.  It is not a typical
  721. TTL clock oscillator which is housed in a 14-pin DIP and costs
  722. about $5.  This is because the 3B2 CPU requires a bi-phase clock.
  723. McCoy said they had the faster parts, but they wanted $200!!  I
  724. set out to do it myself.
  725.  
  726. Someone got me the pinout of the WE32102, and I noticed two unused
  727. pins.  I put the thing on the bench, hooked it up to a scope, and
  728. experimented.  It turns out that the WE32102 will accept and
  729. *external* clock at double frequency.  This clock source overrides
  730. the internal x2 oscillator which is inside the WE32102 can.
  731. Therefore, one can easily (and cheaply!) vary the CPU clock speed
  732. by attaching the appropriate TTL clock oscillator, about $5.
  733.  
  734. The WE32102 is a 16-pin DIP.  It is a wide DIP, not the narrow type
  735. normally found in a 16 count.  The pinout is:
  736.  
  737.      8: GND
  738.     16: VCC
  739.      3: Internal oscillator enable
  740.      5: External frequency source (x2) input
  741.     10: Clock, phase 1
  742.     12: Clock, phase 2 (90 degree delay)
  743.     14: x2 output    
  744.  
  745. To perform the mod, all you need to do is:
  746.     1) Make sure pin 3 is not connected to the motherboard,
  747.        which provides a pull-up resistor.  Apply ground to pin
  748.        3.  I recommend bending pin 3 off to the side so that
  749.        it doesn't enter the socket, then wire-wrapping a wire
  750.        from pin 8 to pin 3 to ground out the enable.  You must
  751.        ground pin 3; it floats high.  Be careful not to allow
  752.        pin 3 to touch the case of the WE32102.
  753.  
  754.     2) Apply the x2 clock source to pin 5.  I recommend using
  755.        one of the easily-available TTL clock oscillators.  They
  756.        come in a 14-pin DIP: 14=Vcc, 7=Gnd, 9=Output.  Widely
  757.        available, e.g. from JDR or DigiKey.
  758.  
  759.     3) Get power to the above-mentioned TTL clock osc.  I
  760.        recommend borrowing the power from pins 16 and 8 of the
  761.        WE32102.  I did this and left the TTL osc. flipped on
  762.        its back, resting on top of the WE32102, secured with
  763.        electrical tape (ah, electrical tape, the wonders it
  764.        provides...)
  765.  
  766. For example, a 25MHz clock source will run the system at 12.5MHz.
  767. That's the only speed I've tried, and it seems to work fine.  Your
  768. mileage may vary.  In particular, this mod will not work with really
  769. old motherboards or memory cards, I'm told.
  770.  
  771. Early 3B2/300s and /310s ran at 8.2 MHz.  These systems probably
  772. won't get much above 10 MHz.  Very recent 3B2/400s and /310s (is
  773. that an oxymoron?) have 14MHz CPU/MMU/MAU chipsets installed.
  774. These systems may be able to go to 16MHz, but I don't know if the
  775. rest of the motherboard will handle it!
  776.  
  777. ==============================================================================
  778. ==============================================================================
  779.  
  780. To get the latest copy of this FAQ, send a mail message to
  781.     mail-server@rtfm.mit.edu
  782.  
  783. The body of your mail should contain a command to the mail server.
  784. To get all the parts of this FAQ (currently consisting of 2 parts),
  785. place the following command in the body of your message:
  786.     send usenet/news.answers/3b2-faq/*
  787.  
  788. To request only one part, substitute the part number as in the
  789. following example:
  790.     send usenet/news.answers/3b2-faq/part1
  791.  
  792. Please remember to leave the Subject: line blank to reduce the
  793. chance of confusing the server.
  794.  
  795. ==============================================================================
  796. ==============================================================================
  797. If you have any other questions, or better answers, please send
  798. mail to 'greg@gagme.wwa.com'
  799. ==============================================================================
  800. -- 
  801. Gregory Gulik - greg@gagme.wwa.com
  802. WorldWide Access (SM) - Chicagoland Internet Services
  803. +1 312 282 8605 or send mail to info@wwa.com
  804. Click <A HREF="http://www.wwa.com/~greg/"here</A> for my home page.
  805.